package com.xjy.rpc.utils;

import java.io.File;

/**
 * @description: 根据ip直接返回缓存key的值
 * @author XJY
 * @date 2024/10/8 14:14
 * @version 1.0
 */
public class SocketParamUtils {

    private static final String server = "ser";

    private static final String client = "cli";

    public static String getKeyByIp(String ip,Integer port){
        return client + File.separator + ip + File.separator + port;
    }
}
